package org.model
{
	[Bindable]
	public class Model
	{
		public function Model()
		{
		}
		// -----------------------------------
		public static const version:String = "0.4";
		// ----------------------------------
		
		private static var _BASE_URL:String;
		public static var BROWSER_SERVICE_URL:String;
		public static var PLAYER_SERVICE_URL:String
		
		public static function set BASE_URL(value:String):void
		{
			_BASE_URL = value;
			BROWSER_SERVICE_URL = _BASE_URL + "RemoteFileBrowser";
			PLAYER_SERVICE_URL =  _BASE_URL + "RemotePlayer";
		}
		
		public static function get BASE_URL():String
		{
			return _BASE_URL
		}
		
		
		public static var adminView:Boolean = true;
		
		public static var remotePlaylist:Object;
		public static var status:int;
		public static var songName:String;
		public static var progress:int;
		public static var volume:int;
		
		public static var refreshBlocked:Boolean = false;
		
		public static var remoteDirectory:String = "";
		public static var remoteStructure:Object;
		public static var remoteStructureInitialized:Boolean = false;
		public static var editingRemoteDir:Boolean = false;
		
		
	}
}